package main

import (
	"fmt"
	"github.com/bwmarrin/snowflake"
	"log"
)

var (
	nodeName int64 = 1
)

func main() {
	node, err := snowflake.NewNode(nodeName)
	if err != nil {
		log.Fatal(err)
	}

	id := node.Generate()
	fmt.Println("id: ", id)
	

}